<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Copyright</title>
    <#include "/website/commonWebsite.html">
    <!--== 网站图标 ==-->
    <!--<link rel="shortcut icon" type="image/x-icon" href="img/Favorites.ico" media="screen">-->
    <!--== 样式文件 ==-->
    <!--<link href="css/share.css" rel="stylesheet" type="text/css">-->
</head>
<body>

<!--== 版权 ==-->
<div class="copyright">
    <!--== 头部 ==-->
    <div class="copyright-to">
        <div class="copyright-top">
            <!-- 左边 -->
            <div class="copyright-top-le">
                <dl>
                    <dt><img src="/website/images/copyright_01.png"></dt>
                    <dd>上海市闵行区剑川路950号启源科技园1号楼322室</dd>
                </dl>
                <dl>
                    <dt><img src="/website/images/copyright_02.png"></dt>
                    <dd><strong>400-000-8888</strong></dd>
                </dl>
                <dl>
                    <dt><img src="/website/images/copyright_03.png"></dt>
                    <dd><strong>xinyou@xinyou.com</strong></dd>
                </dl>
            </div>
            <!-- 中间 -->
            <div class="copyright-top-ce">

            </div>
            <!-- 右边 -->
            <div class="copyright-top-ri">
                <h1><img src="/website/images/copyright_05.png"></h1>
                <p>芯佑公众号</p>
            </div>
        </div>
    </div>
    <!--== 底部 ==-->
    <div class="copyright-bo">Copyright © 2019 芯佑电商  沪ICP备1008888号</div>
</div>
</body>
<script>
    $(function(){
        $.ajax({
            url:'/website/article',
            type:'get',
            success:function(resp){
                if(resp.code==200){
                    var datas = resp.data;
                    console.log(datas)
                    for (var i = 0; i <datas.articleTypeList.length ; i++) {
                        var html ="<dl>"
                            if(datas.articleTypeList[i]=="1"){
                                html+="  <dt>芯佑电商</dt>"
                            }
                            if(datas.articleTypeList[i]=="2"){
                                html+="<dt>支付方式</dt>"
                            }
                            if(datas.articleTypeList[i]=="3"){
                                html+="<dt>网站帮助</dt>"
                            }
                        for (var j = 0; j <datas.list[i].length ; j++) {
                            html+="<dd><img src=\"/website/images/copyright_04.png\"><a href=\"#\">"+datas.list[i][j].article_name+"</a></dd>"
                        }
                        html+="</dl>"
                        $(".copyright-top-ce").append(html);
                    }

                }
            },
            error:function(){

            }
        })
    })
</script>
</html>